package org.tong.activiti6.listeners;

import org.activiti.engine.delegate.DelegateTask;
import org.activiti.engine.delegate.TaskListener;

/**
 * @author
 * @date 2022-08-10 18:13
 */
public class MyTaskListener implements TaskListener {
    @Override
    public void notify(DelegateTask delegateTask) {
        System.err.println(String.join("    ", "MyTaskListener激活:", "taskId:" + delegateTask.getId(), "taskName:" + delegateTask.getName()));
    }
}
